Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-478

DuplicateMessageFilter should bypass checking msgCache for null formats

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 0.9.16
    • 0.9.15
    • None
    • None

    Description

      Calls to isXXXEnabled translate to a call to Logger.callTurboFilters which invokes DuplicateMessageFilter with a null format

      DuplicateMessageFilter usage of LRUMessageCache will group together all null formats under msgCount.

      e.g.

      msgCache.getMessageCount(null) = msgCount 1
      msgCache.getMessageCount(null) = msgCount 2
      msgCache.getMessageCount(null) = msgCount 3

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            dwsmith75 Darryl Smith
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: